import { Modal, Space, message, Dropdown, Menu, Button } from "antd";
import { DownOutlined, ExclamationCircleOutlined } from "@ant-design/icons";
import { useState, forwardRef, useImperativeHandle } from "react";
import Iconfont from "@/components/IconFont";
import ApplyMemberPrice from "./ApplyMemberPrice";
import BatchImport from "./BatchImport";
import ChangePriceConfig from "./ChangePriceConfig";
import SelectActions from "@/views/components/SelectActions";

const LeftBtns = (props, ref) => {
	const { selectedRows, onSubmitSuccess } = props;

	return (
		<Space>
			{props.status == 0 && (
				<>
					<ApplyMemberPrice onSubmitSuccess={onSubmitSuccess} />
					<BatchImport />
				</>
			)}
			<ChangePriceConfig />
		</Space>
	);
};
export default LeftBtns;
